//
//  KongView.m
//  Experss
//
//  Created by 嗯，大葱 on 17/8/10.
//  Copyright © 2017年 嗯，大葱. All rights reserved.
//

#import "KongView.h"

@implementation KongView

- (instancetype)initWithFrame:(CGRect)frame {
    self =  [super initWithFrame:frame];
    if (self) {
        [self configureV];
    }
    return self;
}

- (void)configureV {
    self.backgroundColor =[UIColor whiteColor];
    _imageV = [[UIImageView alloc] initWithFrame:CGRectMake(50, 100, kView_Width - 100, 130)];
 
    _imageV.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:_imageV];
    
    
    _textLB = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(_imageV.frame)+20, kView_Width, 30)];
    
    _textLB.textColor = [UIColor lightGrayColor];
    _textLB.font = kFont15;
    _textLB.textAlignment = NSTextAlignmentCenter;
    [self addSubview:_textLB];
    
    
    
    
}



@end
